package com.xqboss.apps.vo.user;

import com.xqboss.apps.enums.user.RealAuthStatusEnum;
import com.xqboss.common.annotation.DataMask;
import com.xqboss.common.enums.DataMaskEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *     用户实名状态返回
 * </p>
 * @author Trent
 * @date 2023/9/12
 */
@Data
@ApiModel
public class UserRealNameStatusVo {

    @ApiModelProperty("实名认证状态")
    private RealAuthStatusEnum status;

    @ApiModelProperty("阿里云实人认证请求ID")
    private String certifyId;

    @ApiModelProperty("阿里云实人认证URL")
    private String certifyUrl;

    @ApiModelProperty("身份证名称")
    @DataMask(function = DataMaskEnum.USERNAME)
    private String idCardName;

    @ApiModelProperty("身份证号")
    @DataMask(function = DataMaskEnum.IDCARD)
    private String idCard;

}
